<html>
<head>
<title>Docs For Class nusoap_server</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
    <td class="header_top">geoserver</td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td class="header_menu">
        
                                    
                              		  [ <a href="../classtrees_geoserver.html" class="menu">class tree: geoserver</a> ]
		  [ <a href="../elementindex_geoserver.html" class="menu">index: geoserver</a> ]
		  	    [ <a href="../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="200" class="menu">
      <b>Packages:</b><br />
              <a href="../li_geoserver.html">geoserver</a><br />
            <br /><br />
                        <b>Files:</b><br />
      	  <div class="package">
			<a href="../geoserver/_lib---class.nusoap_base.php.html">		class.nusoap_base.php
		</a><br>
			<a href="../geoserver/_lib---class.soapclient.php.html">		class.soapclient.php
		</a><br>
			<a href="../geoserver/_lib---class.soap_fault.php.html">		class.soap_fault.php
		</a><br>
			<a href="../geoserver/_lib---class.soap_parser.php.html">		class.soap_parser.php
		</a><br>
			<a href="../geoserver/_lib---class.soap_server.php.html">		class.soap_server.php
		</a><br>
			<a href="../geoserver/_lib---class.soap_transport_http.php.html">		class.soap_transport_http.php
		</a><br>
			<a href="../geoserver/_lib---class.soap_val.php.html">		class.soap_val.php
		</a><br>
			<a href="../geoserver/_lib---class.wsdl.php.html">		class.wsdl.php
		</a><br>
			<a href="../geoserver/_lib---class.wsdlcache.php.html">		class.wsdlcache.php
		</a><br>
			<a href="../geoserver/_lib---class.xmlschema.php.html">		class.xmlschema.php
		</a><br>
			<a href="../geoserver/_database.php.html">		database.php
		</a><br>
			<a href="../geoserver/_functions.php.html">		functions.php
		</a><br>
			<a href="../geoserver/_index.php.html">		index.php
		</a><br>
			<a href="../geoserver/_lib---nusoap.php.html">		nusoap.php
		</a><br>
			<a href="../geoserver/_lib---nusoapmime.php.html">		nusoapmime.php
		</a><br>
			<a href="../geoserver/_services.php.html">		services.php
		</a><br>
	  </div><br />
      
      
            <b>Classes:</b><br />
        <div class="package">
		    		<a href="../geoserver/nusoapservermime.html">nusoapservermime</a><br />
	    		<a href="../geoserver/nusoap_base.html">nusoap_base</a><br />
	    		<a href="../geoserver/nusoap_client.html">nusoap_client</a><br />
	    		<a href="../geoserver/nusoap_client_mime.html">nusoap_client_mime</a><br />
	    		<a href="../geoserver/nusoap_fault.html">nusoap_fault</a><br />
	    		<a href="../geoserver/nusoap_parser.html">nusoap_parser</a><br />
	    		<a href="../geoserver/nusoap_server.html">nusoap_server</a><br />
	    		<a href="../geoserver/nusoap_server_mime.html">nusoap_server_mime</a><br />
	    		<a href="../geoserver/nusoap_wsdlcache.html">nusoap_wsdlcache</a><br />
	    		<a href="../geoserver/nusoap_xmlschema.html">nusoap_xmlschema</a><br />
	    		<a href="../geoserver/soapclient.html">soapclient</a><br />
	    		<a href="../geoserver/soapclientmime.html">soapclientmime</a><br />
	    		<a href="../geoserver/soapval.html">soapval</a><br />
	    		<a href="../geoserver/soap_fault.html">soap_fault</a><br />
	    		<a href="../geoserver/soap_parser.html">soap_parser</a><br />
	    		<a href="../geoserver/soap_server.html">soap_server</a><br />
	    		<a href="../geoserver/soap_transport_http.html">soap_transport_http</a><br />
	    		<a href="../geoserver/wsdl.html">wsdl</a><br />
	    		<a href="../geoserver/wsdlcache.html">wsdlcache</a><br />
	    		<a href="../geoserver/XMLSchema.html">XMLSchema</a><br />
	  </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Class: nusoap_server</h1>
Source Location: /lib/class.soap_server.php<br /><br />


<table width="100%" border="0">
<tr><td valign="top">

<h3><a href="#class_details">Class Overview</a></h3>
<pre>nusoap_base
   |
   --nusoap_server</pre><br />
<div class="description">nusoap_server allows the user to create a SOAP server  that is capable of receiving messages and returning responses</div><br /><br />
<h4>Author(s):</h4>
<ul>
          <li>Scott Nichol &lt;<a href="mailto:snichol@users.sourceforge.net">snichol@users.sourceforge.net</a>&gt;</li>
              <li>Dietrich Ayala &lt;<a href="mailto:dietrich@ganx4.com">dietrich@ganx4.com</a>&gt;</li>
                  </ul>




            
        
<h4>Version:</h4>
<ul>
  <li>$Id: class.soap_server.php,v 1.58 2007/10/30 18:50:30 snichol Exp $</li>
</ul>

        
</td>

<td valign="top">
<h3><a href="#class_vars">Variables</a></h3>
<ul>
    <li><a href="../geoserver/nusoap_server.html#var$debug_flag">$debug_flag</a></li>
    <li><a href="../geoserver/nusoap_server.html#var$decode_utf8">$decode_utf8</a></li>
    <li><a href="../geoserver/nusoap_server.html#var$document">$document</a></li>
    <li><a href="../geoserver/nusoap_server.html#var$methodreturnisliteralxml">$methodreturnisliteralxml</a></li>
    <li><a href="../geoserver/nusoap_server.html#var$outgoing_headers">$outgoing_headers</a></li>
    <li><a href="../geoserver/nusoap_server.html#var$requestHeader">$requestHeader</a></li>
    <li><a href="../geoserver/nusoap_server.html#var$requestHeaders">$requestHeaders</a></li>
    <li><a href="../geoserver/nusoap_server.html#var$requestSOAP">$requestSOAP</a></li>
    <li><a href="../geoserver/nusoap_server.html#var$responseHeaders">$responseHeaders</a></li>
    <li><a href="../geoserver/nusoap_server.html#var$xml_encoding">$xml_encoding</a></li>
  </ul>
</td>


<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
    <li><a href="../geoserver/nusoap_server.html#methodnusoap_server">nusoap_server</a></li>
    <li><a href="../geoserver/nusoap_server.html#methodadd_to_map">add_to_map</a></li>
    <li><a href="../geoserver/nusoap_server.html#methodconfigureWSDL">configureWSDL</a></li>
    <li><a href="../geoserver/nusoap_server.html#methodfault">fault</a></li>
    <li><a href="../geoserver/nusoap_server.html#methodregister">register</a></li>
    <li><a href="../geoserver/nusoap_server.html#methodservice">service</a></li>
  </ul>
</td>

</tr></table>
<hr />

<table width="100%" border="0"><tr>


<td valign="top">
<h3>Child classes:</h3>
<div class="tags">
<dl>
<dt><a href="../geoserver/soap_server.html">soap_server</a></dt>
	<dd>Backward compatibility</dd>
</dl>
</div>
</td>




</tr></table>
<hr />

<a name="class_details"></a>
<h3>Class Details</h3>
<div class="tags">
[line 16]<br />
nusoap_server allows the user to create a SOAP server  that is capable of receiving messages and returning responses<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>author:</b>&nbsp;&nbsp;</td><td>Scott Nichol &lt;<a href="mailto:snichol@users.sourceforge.net">snichol@users.sourceforge.net</a>&gt;</td>
  </tr>
  <tr>
    <td><b>author:</b>&nbsp;&nbsp;</td><td>Dietrich Ayala &lt;<a href="mailto:dietrich@ganx4.com">dietrich@ganx4.com</a>&gt;</td>
  </tr>
  <tr>
    <td><b>version:</b>&nbsp;&nbsp;</td><td>$Id: class.soap_server.php,v 1.58 2007/10/30 18:50:30 snichol Exp $</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />

<hr />
<a name="class_vars"></a>
<h3>Class Variables</h3>
<div class="tags">
	<a name="var$debug_flag"></a>
	<p></p>
	<h4>$debug_flag = <span class="value">&nbsp;false</span></h4>
	<p>[line 163]</p>
  whether to append debug to response as XML comment<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>boolean</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$decode_utf8"></a>
	<p></p>
	<h4>$decode_utf8 = <span class="value">&nbsp;true</span></h4>
	<p>[line 88]</p>
  toggles whether the parser decodes element content w/ utf8_decode()<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>boolean</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$document"></a>
	<p></p>
	<h4>$document = <span class="value">&nbsp;''</span></h4>
	<p>[line 46]</p>
  SOAP body request portion (incomplete namespace resolution; special characters not escaped) (text)<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>string</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$methodreturnisliteralxml"></a>
	<p></p>
	<h4>$methodreturnisliteralxml = <span class="value">&nbsp;false</span></h4>
	<p>[line 125]</p>
  whether $methodreturn is a string of literal XML<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>boolean</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$outgoing_headers"></a>
	<p></p>
	<h4>$outgoing_headers = <span class="value">array()</span></h4>
	<p>[line 95]</p>
  HTTP headers of response<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>array</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$requestHeader"></a>
	<p></p>
	<h4>$requestHeader = <span class="value">&nbsp;NULL</span></h4>
	<p>[line 40]</p>
  SOAP Headers from request (parsed)<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>mixed</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$requestHeaders"></a>
	<p></p>
	<h4>$requestHeaders = <span class="value">&nbsp;''</span></h4>
	<p>[line 34]</p>
  SOAP headers from request (incomplete namespace resolution; special characters not escaped) (text)<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>string</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$requestSOAP"></a>
	<p></p>
	<h4>$requestSOAP = <span class="value">&nbsp;''</span></h4>
	<p>[line 52]</p>
  SOAP payload for request (text)<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>string</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$responseHeaders"></a>
	<p></p>
	<h4>$responseHeaders = <span class="value">&nbsp;''</span></h4>
	<p>[line 107]</p>
  SOAP headers for response (text or array of soapval or associative array)<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>mixed</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$xml_encoding"></a>
	<p></p>
	<h4>$xml_encoding = <span class="value">&nbsp;''</span></h4>
	<p>[line 82]</p>
  character set encoding of incoming (request) messages<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>string</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
</div><br />

<hr />
<a name="class_methods"></a>
<h3>Class Methods</h3>
<div class="tags">

  <hr />
	<a name="methodnusoap_server"></a>
	<h3>constructor nusoap_server <span class="smalllinenumber">[line 173]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>nusoap_server nusoap_server(
[mixed
$wsdl = false])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		constructor  the optional parameter is a path to a WSDL file that you'd like to bind the server instance to.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">mixed&nbsp;&nbsp;</td>
        <td><b>$wsdl</b>&nbsp;&nbsp;</td>
        <td>file path or URL (string), or wsdl instance (object)</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodadd_to_map"></a>
	<h3>method add_to_map <span class="smalllinenumber">[line 888]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void add_to_map(
string
$methodname, string
$in, string
$out)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		add a method to the dispatch map (this has been replaced by the register method)<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>deprecated:</b>&nbsp;&nbsp;</td><td></td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$methodname</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$in</b>&nbsp;&nbsp;</td>
        <td>array of input values</td>
      </tr>
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$out</b>&nbsp;&nbsp;</td>
        <td>array of output values</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodconfigureWSDL"></a>
	<h3>method configureWSDL <span class="smalllinenumber">[line 994]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void configureWSDL(

$serviceName, [mixed
$namespace = false], [mixed
$endpoint = false], [string
$style = 'rpc'], [string
$transport = 'http://schemas.xmlsoap.org/soap/http'], [mixed
$schemaTargetNamespace = false], string
$serviceName,)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Sets up wsdl object.<br /><br /><p>Acts as a flag to enable internal WSDL generation</p><br /><br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$serviceName,</b>&nbsp;&nbsp;</td>
        <td>name of the service</td>
      </tr>
          <tr>
        <td class="type">mixed&nbsp;&nbsp;</td>
        <td><b>$namespace</b>&nbsp;&nbsp;</td>
        <td>optional 'tns' service namespace or false</td>
      </tr>
          <tr>
        <td class="type">mixed&nbsp;&nbsp;</td>
        <td><b>$endpoint</b>&nbsp;&nbsp;</td>
        <td>optional URL of service endpoint or false</td>
      </tr>
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$style</b>&nbsp;&nbsp;</td>
        <td>optional (rpc|document) WSDL style (also specified by operation)</td>
      </tr>
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$transport</b>&nbsp;&nbsp;</td>
        <td>optional SOAP transport</td>
      </tr>
          <tr>
        <td class="type">mixed&nbsp;&nbsp;</td>
        <td><b>$schemaTargetNamespace</b>&nbsp;&nbsp;</td>
        <td>optional 'types' targetNamespace for service schema or false</td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$serviceName</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodfault"></a>
	<h3>method fault <span class="smalllinenumber">[line 975]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void fault(
string
$faultcode, string
$faultstring, [string
$faultactor = ''], [string
$faultdetail = ''])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Specify a fault to be returned to the client.<br /><br /><p>This also acts as a flag to the server that a fault has occured.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$faultcode</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$faultstring</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$faultactor</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$faultdetail</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodregister"></a>
	<h3>method register <span class="smalllinenumber">[line 906]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void register(
string
$name, [array
$in = array()], [array
$out = array()], [mixed
$namespace = false], [mixed
$soapaction = false], [mixed
$style = false], [mixed
$use = false], [string
$documentation = ''], [string
$encodingStyle = ''])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		register a service function with the server<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$name</b>&nbsp;&nbsp;</td>
        <td>the name of the PHP function, class.method or class..method</td>
      </tr>
          <tr>
        <td class="type">array&nbsp;&nbsp;</td>
        <td><b>$in</b>&nbsp;&nbsp;</td>
        <td>assoc array of input values: key = param name, value = param type</td>
      </tr>
          <tr>
        <td class="type">array&nbsp;&nbsp;</td>
        <td><b>$out</b>&nbsp;&nbsp;</td>
        <td>assoc array of output values: key = param name, value = param type</td>
      </tr>
          <tr>
        <td class="type">mixed&nbsp;&nbsp;</td>
        <td><b>$namespace</b>&nbsp;&nbsp;</td>
        <td>the element namespace for the method or false</td>
      </tr>
          <tr>
        <td class="type">mixed&nbsp;&nbsp;</td>
        <td><b>$soapaction</b>&nbsp;&nbsp;</td>
        <td>the soapaction for the method or false</td>
      </tr>
          <tr>
        <td class="type">mixed&nbsp;&nbsp;</td>
        <td><b>$style</b>&nbsp;&nbsp;</td>
        <td>optional (rpc|document) or false Note: when 'document' is specified, parameter and return wrappers are created for you automatically</td>
      </tr>
          <tr>
        <td class="type">mixed&nbsp;&nbsp;</td>
        <td><b>$use</b>&nbsp;&nbsp;</td>
        <td>optional (encoded|literal) or false</td>
      </tr>
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$documentation</b>&nbsp;&nbsp;</td>
        <td>optional Description to include in WSDL</td>
      </tr>
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$encodingStyle</b>&nbsp;&nbsp;</td>
        <td>optional (usually 'http://schemas.xmlsoap.org/soap/encoding/' for encoded)</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodservice"></a>
	<h3>method service <span class="smalllinenumber">[line 236]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void service(
string
$data)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		processes request and returns response<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$data</b>&nbsp;&nbsp;</td>
        <td>usually is the value of $HTTP_RAW_POST_DATA</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
</div><br />


        <div class="credit">
		    <hr />
		    Documentation generated on Tue, 09 Dec 2008 01:26:52 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>